package com.pw.study.arithmetic.entities

/**
 * @Desc: 双节点
 * @author: future
 * @since: 2022/5/29-15:52
 */

class HeroNode2(id: Int, name: String, alias: String) {
  var no: Int = id
  var nodeNome: String = name
  var nickName: String = alias
  var pre: HeroNode2 = null
  var next: HeroNode2 = null

  override def toString: String = {
    s"ListNode: $no,$nodeNome,$nickName "
  }
}